package com.zyk.scaffold.seata.biz.repositorys.mapper;

import com.zyk.scaffold.seata.biz.repositorys.entity.BizMoney;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 钱包表 Mapper 接口
 * </p>
 *
 * @author zhouyk
 * @since 2023-06-28
 */
@Repository
public interface BizMoneyMapper extends BaseMapper<BizMoney> {
    int pay(@Param("userId") Long userId, @Param("useMoney") int useMoney);
}
